﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xant.FlowEngine.Core
{
    /// <summary>
    /// 子流程活动
    /// </summary>
    public sealed class SubprocessActivity: AbstractActivity
    {
        #region 属性

        /// <summary>
        /// 流程模板主键
        /// </summary>
        public Guid DefinitionId { get; set; }

        /// <summary>
        /// 归属流程主键
        /// </summary>
        public Guid OwnerProcessId { get; set; }

        #endregion

        #region 构造函数
        #endregion

        #region 实现抽象方法
        protected override AbstractActivity Clone()
        {
            var clone = new SubprocessActivity();
            //to do:将本类声明的字段、属性作克隆处理，父类声明的由父类处理

            return clone;
        }

        #endregion


    }
}
